<?php
include_once ('../includes/utilidades.php');
include_once ('../includes/html.php');
//include_once('../includes/config.php');
session_start();
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

//print_r($_REQUEST);
$objeto = 'relevos';
$arrayvalores['idtemporada']=$_REQUEST['idtemporada'];
$arrayvalores['idclub']=$_REQUEST['idclub'];
//print_r ($arrayvalores);

//print_r($_SESSION);
print "<h1>Alta Relevo</h1>";
print "<h2> Club " . $_SESSION['club']['id'][0]['nombre']  . "</h2>";
print "<h2> Temporada " . $_SESSION['estado']['temporada']['nombre']  . "</h2>";

$form = new HTML_Form($objeto, $objeto, '../comun/doAddObjeto.php');
$form->setEstado($_SESSION['estado']);
$form->setValores($arrayvalores);
$form->setModeloDatos($tablas);
$form->toHTMLTable();
$form->printHTML();
//HTMLFormTablaAdd($objeto,$_SESSION['estado'],$tablas);
print "<hr>";
//HTMLFormTablaAction($objeto, $tablas[$objeto], 'doAltaAtletaRelevo.php',$arrayvalores)
//print session_id();
//print $_SESSION['afterAddcompeticion']
?>

